<%@ page language="java" errorPage="/WEB-INF/common/exception.jsp" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ include file="/WEB-INF/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>联系我们</title>
<script type="text/javascript" language="javascript" src="<c:url value='/js/ckeditor/ckeditor.js' />" charset=utf-8></script>
</head>
<body>
<div class="main">
    <div class="subTitle">
        <h2><strong>联系我们</strong></h2>
    </div>
	<h3 class="subBoxTitle mT5"><c:if test="${empty vo.id}">添&nbsp;&nbsp;&nbsp;&nbsp;加</c:if><c:if test="${not empty vo.id}">修&nbsp;&nbsp;&nbsp;&nbsp;改</c:if></h3>
<form name="form1" action="<c:url value='/admin/info/contact/save.jhtml' />" method="post" onsubmit="return Validator.Validate(this,3);">
	<div class="ntable_mid mT10" >
        <table width="100%" class="nt_table">
			<tr>
                <td>
                	<textarea id="content" name="vo.content" rows="9" cols="100">${vo.content }</textarea>
                	<script type="text/javascript">
					var _extraHeight=600;
					CKEDITOR.replace("content", {
						toolbar : 'Simple',
						height : 480,
						kt_image : {
							uploadURL : "<c:url value='/ckeditor-upload/descImage.jhtml'/>",
							fileName  : "descImage"
						}
					});
					</script>
                </td>
            </tr>
        </table>
    </div>
    
	<div class="nbot_control mT10">
		<input type="hidden" name="vo.id" value="${vo.id}" />
        <input id="save" type="submit" class="formBtn01" value="保 存" />&nbsp;&nbsp;&nbsp;&nbsp;
    </div>
</form>
</div>
</body>
</html>

